/*
 * Copyright (c) 2020-2099 the original author or authors. All rights reserve.
 */
package org.tianyun.cloud.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 分页请求参数，适用于滚动分页
 *
 * @auther ebert_chan
 */
@ApiModel
public class CursorPageRequest extends AbstracePageRequest {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "偏移量，首页不用传，请求下一页时回传接口返回的值")
    private Long offset;

    // getter and setter

    public Long getOffset() {
        return offset;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

}
